package com.jzy.shardingjdbc.service;

import com.jzy.shardingjdbc.entity.GoodInfo;
import com.jzy.shardingjdbc.entity.User;

import java.util.List;

/**
 * @author jinzhiyuan
 * @Description:
 * @date 2020-4-28 17:33
 */
public interface UserService {

    Integer addUser(User user);

    List<User> list();

    int addGoods(GoodInfo goodInfo);

    List<GoodInfo> getGoodList();
}
